package com.easy.common.bean;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("`user`")  // 关键修改：添加表名注解并用反引号包围
public class user {
    private Integer id;
    private String username;
    private String password;
    private String phone;
    private String email;
    private String address;
    private String avatar;
    private Integer status;
    @TableLogic//软删除
    private Integer isdel;
    private LocalDateTime createtime;
    private LocalDateTime updatetime;












}
